package cn.bone.stress;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Created by superbone on 2017/3/30.
 */
@SpringBootApplication
@EnableAsync
public class StressMain {

    private static Logger logger = LoggerFactory.getLogger(StressMain.class);
    public static void main(String[] args){

        ApplicationContext ctx = SpringApplication.run(StressMain.class, args);
//        String[] names = ctx.getBeanDefinitionNames();
//        for(String name : names){
//            logger.info("bean name: " + name);
//        }
    }
}
